package com.broadengate.service.impl;

import com.broadengate.dao.WithdrawDao;
import com.broadengate.model.Card;
import com.broadengate.model.Withdraw;
import com.broadengate.service.WithdrawService;

public class WithdrawServiceImpl implements WithdrawService {
	
	private WithdrawDao withdrawDao;
	
	public void withdraw(Card card, Withdraw withdraw) {
		withdrawDao.withdraw(card, withdraw);
	}

	public void deleteDraw(String cardNO){
		withdrawDao.deleteDraw(cardNO);
	}
	
	
	public WithdrawDao getWithdrawDao() {
		return withdrawDao;
	}

	public void setWithdrawDao(WithdrawDao withdrawDao) {
		this.withdrawDao = withdrawDao;
	}

}
